<form action="" onsubmit="return false;" id="formEdit"><!-- onsubmit="return false;"阻止表单提交 -->
    <div class="form-group">
        <label for="">Title</label>
        <input type="text" name="title"  value="<?php echo e($data->title); ?>" class="form-control" placeholder="请输入Title" id="">

    </div>
    <input type="hidden" name="id" value="<?php echo e($data->id); ?>">
    <div class="form-group">
        <label for="">Href</label>
        <input type="text" name="pass" value="<?php echo e($data->href); ?>" class="form-control" placeholder="友情链接" id="">
    </div>
    <div class="form-group">
        <label for="">Order</label>
        <input type="number" name="order" value="<?php echo e($data->href); ?>" class="form-control" placeholder="数值越大越靠前" id="">
    </div>
    <!-- 图 -->
    <div class="form-group">
        <label for="">Img</label>

        <input type="file" name="" id="uploads">
        <div id="main">

        </div>
        <input type="hidden" name="img" id="imgs">

    </div>

    <div class="form-group pull-right">
        <input type="submit" value="提交" onclick="update()" class="btn btn-success">
        <input type="reset" value="重置" id="reset1" class="btn btn-danger">
    </div>

    <div style="clear:both"></div>
</form>